package com.panshi.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("回答表实体类")
public class AnswerBean implements Serializable {
    @ApiModelProperty("回答表id")
    private int answer_id;

    @ApiModelProperty("回答问题用户id")
    private int uid;

    @ApiModelProperty("回答问题用户名称")
    private String answer_name;

    @ApiModelProperty("回答问题用户头像路径")
    private String answer_imgpath;

    @ApiModelProperty("文章id")
    private int aid;

    @ApiModelProperty("回答内容")
    private String answer_comment;

    @ApiModelProperty("评论数量")
    private int count;

    @ApiModelProperty("点赞数量")
    private int a_like;

    @ApiModelProperty("踩的数量")
    private int read_like_no;

    @ApiModelProperty("创建时间")
    private Date create_time;

    @ApiModelProperty("更新时间")
    private Date update_time;
}